<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
    <title>注册</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/login.css}">
</head>
<body class="layui-layout-login">
<div class="login-bg">
    <div class="cover"></div>
</div>
<div class="login-content">
    <h1 class="login-box-title"><i class="fa fa-fw fa-user"></i>注册</h1>
    <form class="layui-form" th:action="@{/reg}" method="post">
        <div class="layui-form-item">
            <input class="layui-input" type="text" name="nickname" id="nickname" placeholder="姓名">
        </div>
        <div class="layui-form-item">
            <input class="layui-input" type="text" name="username" id="username" placeholder="登录名">
        </div>
        <div class="layui-form-item">
            <input class="layui-input" type="password" name="password" id="password" placeholder="密码">
        </div>
        <div class="layui-form-item">
            <input class="layui-input" type="password" name="confirmpassword" id="confirmpassword" placeholder="确认密码">
        </div>
        <button type="submit" class="layui-btn layui-btn-fluid ajax-reg"><i class="fa fa-sign-in fa-lg fa-fw"></i>保存</button>
    </form>
    <div class="layui-layer-loading login-page-loading"><div class="layui-layer-content"></div></div>
</div>
<script th:replace="/common/template :: script"></script>
<script th:src="@{/js/login.js}" charset="utf-8"></script>
</body>
</html>
